from django.urls import path, re_path
from cookiexx import views

urlpatterns = [
    re_path('set_cookie/(.+)/(.+)', views.set_cookie_handler, name='set_cookie'),
    re_path('get_cookie/(.+)', views.get_cookie_handler, name='get_cookie'),
    re_path('set_session/(.+)/(.+)', views.set_session_handler, name='set_session'),
    re_path('get_session/(.+)', views.get_session_handler, name='get_session'),
    path('flush', views.flush_session_handler, name='flush'),
    path('clear', views.clear_session_handler, name='clear'),
    path('form', views.form_handler, name='form'),
    path('form_post', views.form_post_handler, name='form_post'),
    path('form_get', views.form_get_handler, name='form_get'),
    path('register', views.register_handler, name='register'),
]